package com.inexas.cu.client.register;

import com.google.gwt.validation.client.*;
import com.google.gwt.validation.client.interfaces.*;

public class Register extends RegistrationRequest implements IValidatable {
    private static final long serialVersionUID = -2588786054096588016L;
	@NotNull
	@NotEmpty
	private String firstName;
	private String lastName, password;

	@SuppressWarnings("unused")
    private Register() {
		// Serialization only
	}

	public Register( //
	        String firstName, //
	        String lastName, //
	        String accountName, //
	        String password) {
		super(accountName);
		this.firstName = firstName;
		this.lastName = lastName;
		this.password = password;
	}

	public String getFirstName() {
		return firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public String getPassword() {
		return password;
	}

}